package cn.coco.jf.fw.core.db;

import java.util.Date;

import com.jfinal.plugin.activerecord.Model;

import cn.coco.jf.fw.core.consts.JkConst;

public class SysUserTbl extends Model<SysUserTbl>{
    public static SysUserTbl dao = new SysUserTbl().use(JkConst.DATA_SOURCE_NAME_MYSQL);
    
    public static SysUserTbl newInstance(){
        return new SysUserTbl().use(JkConst.DATA_SOURCE_NAME_MYSQL);
    }
    
    public SysUserTbl(){
        this.use(JkConst.DATA_SOURCE_NAME_MYSQL);
    }
    
    /**
     * 
     */
    private static final long serialVersionUID = 1L;
    
    private String userCode;
    private String userName;
    private String userPasswd;
    private String passwdSalt;
    private Integer roleId;
    private String userGender;
    private String userPhone;
    private String userMail;
    private String delFlg;
    private String createUser;    
    private Date createDateTime;
    private String updateUser;
    private Date updateDateTime;

    private String userCodeThird;
    
    public String getUserCode() {
        return get("USER_CODE");
    }
    public void setUserCode(String userCode) {
        set("USER_CODE", userCode);
    }
    public String getUserName() {
        return get("USER_NAME");
    }
    public void setUserName(String userName) {
        set("USER_NAME", userName);
    }
    public String getUserPasswd() {
        return get("USER_PASSWD");
    }
    public void setUserPasswd(String userPasswd) {
        set("USER_PASSWD", userPasswd);
    }
    public String getPasswdSalt() {
        return get("PASSWD_SALT");
    }
    public void setPasswdSalt(String passwdSalt) {
        set("PASSWD_SALT", passwdSalt);
    }
    public Integer getRoleId() {
        return get("ROLE_ID");
    }
    public void setRoleId(Integer roleId) {
        set("ROLE_ID", roleId);
    }
    public String getUserGender() {
        return get("USER_GENDER");
    }
    public void setUserGender(String userGender) {
        set("USER_GENDER", userGender);
    }
    public String getUserPhone() {
        return get("USER_PHONE");
    }
    public void setUserPhone(String userPhone) {
        set("USER_PHONE", userPhone);
    }
    public String getUserMail() {
        return get("USER_MAIL");
    }
    public void setUserMail(String userMail) {
        set("USER_MAIL", userMail);
    }
    public String getCreateUser() {
        return get("CREATE_USER");
    }
    public void setCreateUser(String createUser) {
        set("CREATE_USER", createUser);
    }
    public Date getCreateDateTime() {
        return get("CREATE_DATE_TIME");
    }
    public void setCreateDateTime(Date createDateTime) {
        set("CREATE_DATE_TIME", createDateTime);
    }
    public String getUpdateUser() {
        return get("UPDATE_USER");
    }
    public void setUpdateUser(String updateUser) {
        set("UPDATE_USER", updateUser);
    }
    public Date getUpdateDateTime() {
        return get("UPDATE_DATE_TIME");
    }
    public void setUpdateDateTime(Date updateDateTime) {
        set("UPDATE_DATE_TIME", updateDateTime);
    }

    public String getDelFlg() {
        return get("DEL_FLG");
    }

    public void setDelFlg(String delFlg) {
        set("DEL_FLG", delFlg);
    }

	public String getUserCodeThird() {
		return get("USER_CODE_THIRD");
	}

	public void setUserCodeThird(String userCodeThird) {
		set("USER_CODE_THIRD", userCodeThird);
	}
    

}
